package net.aiform.security.pojo;

import java.io.Serializable;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import net.aiform.pojo.Identity;

@Entity
@Table(name = "af_secmeta")
public class SecMeta extends Identity implements Serializable {
	private static final long serialVersionUID = 5005427820077960939L;
	@ManyToOne(fetch = FetchType.EAGER, cascade = CascadeType.REFRESH, optional = false)
	@JoinColumn(name = "formac", referencedColumnName = "id")
	private FormAccessController formac;

	public FormAccessController getFormac() {
		return formac;
	}

	public void setFormac(FormAccessController formac) {
		this.formac = formac;
	}

}
